import { Component, Input, OnInit, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'page-header',
  templateUrl: './page-header.component.html',
  styleUrls: ['./page-header.component.scss'],
})
export class PageHeaderComponent implements OnInit {
  constructor() {}

  @Input() title!: string;
  @Input() createdOn!: string;
  @Input() updatedOn!: string;
  @Input() taggs: string = "";
 
  @Output() titleChange = new EventEmitter<string>();

  ngOnInit(): void {
    console.log(this.taggs);
  }
  onChange(e: Event) {
    console.log(e);
  }
}
